package com.craigcmiller.cmtetris.ui;

import javax.swing.*;
import java.awt.*;


/**
 * Applet frontend
 * @author craig
 */
public class GameApplet extends JApplet
{
	public static final long serialVersionUID=0;
	private SwingGraphics sg;
	
	
	public GameApplet()
	{
		sg=new SwingGraphics(this, 300, 600, 10, 20, false);
	}
	
	
	@Override
	public void paint(Graphics gfx)
	{
		sg.paint(gfx);
	}
	
	
	public void init()
	{
		//setVisible(true);
	}
}
